<%@ include file="/common/taglibs.jsp"%>

<div class="jquery_tab_container">
    <span class="heading_tab advanced_link active tab1"><fmt:message key="codex.country"/></span>
</div>

<div class="jquery_tab">
    <div class="content_block"></div>
<form:form commandName="sifrarnik" method="post" action="novsifrarnik" id="sifrarnik" onsubmit="return validateCountry(this)">


    <form:hidden path="id" />
    <p>
        <appfuse:label styleClass="left width50" key="assMark.assMarkCode"/>
        <form:input path="kod" id="kod" cssClass="input-medium left" cssErrorClass="input-medium left error" maxlength="1000"/>
        <form:errors path="kod" cssClass="fieldError left"/>
        <br class="clearboth" />
    </p>
    <p>
        <appfuse:label styleClass="left width50" key="searchPerson.firstName"/>
        <form:input path="ime" id="ime" cssClass="input-medium left" cssErrorClass="input-medium left error" maxlength="1000"/>
        <form:errors path="ime" cssClass="fieldError left"/>
        <br class="clearboth" />
    </p>
     <p>
        <appfuse:label styleClass="left width50" key="searchPerson.lastName"/>
        <form:input path="opis" id="opsis" cssClass="input-medium left" cssErrorClass="input-medium left error" maxlength="1000"/>
        <form:errors path="opis" cssClass="fieldError left"/>
        <br class="clearboth" />
    </p>
     <p>

         
         <appfuse:label styleClass="left width50" key="searchPerson.lastName"/>
          <form:select path="tipSifrarnik" class="input-medium toCyr" id="eduLvlSelect">
               
                <c:forEach items="${sifrarnik.allTipSifrarnik}" var="tipSif">

                    <c:if test="${tipSif == tipSifrarnik}">
                        <form:option value="${tipSif.id}" id="${tipSifrarnik}" selected="true" >
                            ${tipSif.ime}
                        </form:option>
                    </c:if>
                     <c:if test="${tipSif != tipSifrarnik}">
                        <form:option value="${tipSif.id}" id="${tipSifrarnik}" >
                            ${tipSif.ime}
                        </form:option>
                    </c:if>
                </c:forEach>
            </form:select>
       
        <br class="clearboth" />
    </p>
     

     <input type="submit" class="button" name="cancel" value="<fmt:message key="button.cancel"/>" onclick="bCancel=true"/>
</form:form>
</div>
